package com.cxmx.escort.mapper;

import com.cxmx.escort.entity.Bed;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 充值表 Mapper 接口
 * </p>
 *
 * @author 陈云轩
 * @since 2019-10-21
 */
public interface BedMapper extends BaseMapper<Bed> {

    @Select("select * from es_bed where bed_code=#{code}")
    Bed selectByCode(@Param("code") String code);
}
